import 'package:bilibili_getx_project/core/service/util/http_base_request.dart';

import '../../model/home/search_square_model.dart';

class HomeRequest {
  static Future<SearchSquareModel> fetchSearchSquareData(params) async{
    final result = await HttpBaseRequest.request("app", "/x/v2/search/square", params: params);
    // print(result);
    return SearchSquareModel.fromJson(result);
  }
}